﻿import Vue from 'vue'
import App from './App.vue'
import router from './router'
// 引入vant
import Vant from 'vant'
// 样式文件
import 'vant/lib/index.css'
import store from './store/index'
import './styles/index.less'
// 动态设置html的fontsize
import 'amfe-flexible'

import '@/utils/dayjs'

Vue.config.productionTip = false

// 注册vant组件
Vue.use(Vant)

new Vue({
  router,
  // 把store和组件进行关联
  store: store,
  render: h => h(App)
}).$mount('#app')
